package com.xxxy.jsq.model;

import java.io.Serializable;

public class Rule implements Serializable {
    private Long ruleId;
    private Long levelId;
    private Long worksId;
    private Integer ruleCount;
    private Integer ruleYears;
    private String ruleMemo;
    private String ruleFlag;

    public Rule() {
    }

    public Rule(Long ruleId, Long levelId, Long worksId, Integer ruleCount, Integer ruleYears, String ruleMemo, String ruleFlag) {
        this.ruleId = ruleId;
        this.levelId = levelId;
        this.worksId = worksId;
        this.ruleCount = ruleCount;
        this.ruleYears = ruleYears;
        this.ruleMemo = ruleMemo;
        this.ruleFlag = ruleFlag;
    }

    public Long getRuleId() {
        return ruleId;
    }

    public void setRuleId(Long ruleId) {
        this.ruleId = ruleId;
    }

    public Long getLevelId() {
        return levelId;
    }

    public void setLevelId(Long levelId) {
        this.levelId = levelId;
    }

    public Long getWorksId() {
        return worksId;
    }

    public void setWorksId(Long worksId) {
        this.worksId = worksId;
    }

    public Integer getRuleCount() {
        return ruleCount;
    }

    public void setRuleCount(Integer ruleCount) {
        this.ruleCount = ruleCount;
    }

    public Integer getRuleYears() {
        return ruleYears;
    }

    public void setRuleYears(Integer ruleYears) {
        this.ruleYears = ruleYears;
    }

    public String getRuleMemo() {
        return ruleMemo;
    }

    public void setRuleMemo(String ruleMemo) {
        this.ruleMemo = ruleMemo;
    }

    public String getRuleFlag() {
        return ruleFlag;
    }

    public void setRuleFlag(String ruleFlag) {
        this.ruleFlag = ruleFlag;
    }

    @Override
    public String toString() {
        return "Rule{" +
                "ruleId=" + ruleId +
                ", levelId=" + levelId +
                ", worksId=" + worksId +
                ", ruleCount=" + ruleCount +
                ", ruleYears=" + ruleYears +
                ", ruleMemo='" + ruleMemo + '\'' +
                ", ruleFlag='" + ruleFlag + '\'' +
                '}';
    }
}